<?php

namespace app\common\model;

use think\Model;

class MiandanOrder extends Model
{
    public function getUserNicknameAttr($value,$data){
        $nickname = get_nickname($data['uid']);
        if (!$nickname){
            //$nickname = '无用户';
        }
        return $nickname;
    }
}
